import {createSSRApp} from "vue";
import App from "./App.vue";
import {createPinia} from "pinia";
import {createUnistorage} from "pinia-plugin-unistorage";
import uviewPlus from 'uview-plus'

export function createApp() {
    const app = createSSRApp(App);
    const pinia = createPinia()
    pinia.use(createUnistorage())
    app.use(pinia)
    app.use(uviewPlus)
    return {
        app,
    };
}
